/*
 * @Author: your name
 * @Date: 2021-11-13 15:40:36
 * @LastEditTime: 2021-12-31 16:37:36
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \vue-antd-admin-yarn\src\services\role.js
 */


import { roleListApi,permissionApi,roleAddApi,roleEditApi,roleSelOneApi } from '@/services/api'
import {
    request, METHOD
    // , removeAuthorization
} from '@/utils/request'



export  function roleList(formData) {  
    return request(roleListApi, METHOD.POST, formData)
}
export  function roleAdd(formData) {  
    return request(roleAddApi, METHOD.POST, formData)
}
export  function roleEdit(formData) {  
    return request(roleEditApi, METHOD.POST, formData)
}
export  function roleSelOne(formData) {  
    return request(roleSelOneApi, METHOD.POST, formData)
}
export  function permission(formData) {  
    return request(permissionApi, METHOD.POST, formData)
}





export default {
    roleList,
    permission,
    roleAdd,
    roleEdit,
    roleSelOne,
}

